#include "StdAfx.h"
#include "IEvent.h"
#include "ISceneObject.h"

IEvent::IEvent(uint32 Id):mID(Id),mOwner(0)
{
}


IEvent::~IEvent(void)
{
}

void IEvent::SetXYZ( float x,float y,float z )
{
	mOwner->SetXYZ(x,y,z);
}

void IEvent::SetName( const char * strName )
{
	mOwner->SetName(strName);
}

void IEvent::SetPersistID( uint64 Id )
{
	mOwner->SetPersistID(Id);
}

void IEvent::SetThis( ISceneObject * lpOwner )
{
	assert(mOwner);
	mOwner = lpOwner;
}

void IEvent::SetDirection( float fDir )
{
	mOwner->SetDirection(fDir);
}

uint32 IEvent::GetOwnerID()
{
	return mID;
}
